lib/bootloader-zipl: check for errors when opening initrd
authorLuca BRUNO <luca.bruno@coreos.com>
Thu, 13 Oct 2022 10:48:38 +0000 (10:48 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Thu, 13 Oct 2022 10:48:38 +0000 (10:48 +0000)
commit39ef6253e9934994539690e2931afd75b4617c3e
tree7c840a9d5e3a2b85fd0dbeb7eb30584f428bf4e8
parente0cc8069c90fc0e9f4c988a445ce5c98a7ae7512
lib/bootloader-zipl: check for errors when opening initrd

This adds a missing error check when opening an initrd in s390x
Secure Execution (SE) logic.
It was detected by RH internal static checks.
src/libostree/ostree-bootloader-zipl.c